package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.CustomerUserDTO;
import com.jhs.kjs.dto.DeptDTO;
import com.jhs.kjs.service.IEnvUserInfoMgrService;
import com.jhs.kjs.service.dao.IEnvUserInfoMgrMapper;
public class EnvUserInfoMgrServiceImpl implements IEnvUserInfoMgrService{

	private IEnvUserInfoMgrMapper mapper;

	public void setMapper(IEnvUserInfoMgrMapper mapper) {
		this.mapper = mapper;
	}
	
	@Override
	public CustomerUserDTO getUserInfo(Map<String, String> param) {
		return this.mapper.getUserInfo(param);
	}
	
	@Override
	public  List<DeptDTO> getDeptInfo(Map<String, Integer> param) {
		return this.mapper.getDeptInfo(param);
	}
	
	@Override
	public int updateUserInfo(CustomerUserDTO param) {
		return this.mapper.updateUserInfo(param);
	}
}
